SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].BancosUpdateCommand
(
	@ID numeric(10, 0),
	@BANCO varchar(70),
	@ACTIVO bit,
	@Original_ID numeric(10, 0),
	@Original_BANCO varchar(70),
	@Original_ACTIVO bit
)
AS
	SET NOCOUNT OFF;
UPDATE [BANCOS] SET [ID] = @ID, [BANCO] = @BANCO, [ACTIVO] = @ACTIVO WHERE (([ID] = @Original_ID) AND ([BANCO] = @Original_BANCO) AND ([ACTIVO] = @Original_ACTIVO));
	
SELECT ID, BANCO, ACTIVO FROM BANCOS WHERE (ID = @ID)
GO
